package com.chance.cc.crawler.prod.command.node.iqiyi;

import com.chance.cc.crawler.development.command.node.CrawlerNodeCommand;
import com.chance.cc.crawler.prod.command.job.domain.news.iqiyi.searchKw.IQiYiRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.iqiyi.searchKw.IQiYiTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.iqiyi.searchKw.IQiYiTraceTraceCrawlerSchedulerJob;

/**
 * @author bx
 * @date 2020/12/8 0008 13:37
 */
public class IQiYiCrawlerNodeOperator {

    public static void main(String[] args) {
        CrawlerNodeCommand crawlerNodeCommand = new CrawlerNodeCommand("192.168.1.219",9505);

        crawlerNodeCommand.nodeStatus();

//        crawlerNodeCommand.killCrawler(IQiYiRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
//        crawlerNodeCommand.killCrawler(IQiYiTraceCrawlerSchedulerJob.crawlerSchedulejob());
        crawlerNodeCommand.killCrawler(IQiYiTraceTraceCrawlerSchedulerJob.crawlerSchedulejob());

        crawlerNodeCommand.nodeStatus();

    }
}
